package day.experience.day318;
//定义一个矩形的类
public class Rectangle extends Shape{
    public void Drow(){
        super.Drow();
    }
    public void Drow(double a,double b){
        System.out.println("矩形的面积为："+a*b);
        System.out.println("矩形的周长为："+(a+b)*2);
    }
}
